package com.xm.settlement.service;


import com.xm.settlement.commons.base.ApiResult;
import com.xm.settlement.commons.base.ApiSQLException;
import com.xm.settlement.model.AppUser;

/**
 * Created by Administrator on 2017/2/10.
 */
public interface AppShopLogService {

    /**
     * 计算动态收益部分源码
     * */
    public ApiResult insertDynamicIncome(String orderCode, String vipCode, double awards);

    /**
     * 动态收益计算模块
     * @param  vipCode  当前充值人
     * @param  awards   充值金额 3000 9000 30000 60000 90000
     * */
    ApiResult<AppUser> changeDynamicIncome(String vipCode, double awards) throws ApiSQLException;
}
